package com.xiaoyu.izf.repository;

import com.xiaoyu.izf.model.YqfMerchant;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface YqfMerchantDao extends JpaRepository<YqfMerchant,String>, JpaSpecificationExecutor<YqfMerchant> {

    public YqfMerchant findOneById(String id);
    public List<YqfMerchant> findAllByUid(int uid);
}
